package com.apobates.jforum2.threads.stub.vo;

import java.io.Serializable;

/**
 * 话题配置文件
 */
public class ThreadsConfigVo implements Serializable{
    private long id;
    //话题ID
    private long threads;
    //是否是私人的
    //false(0)表示公开,谁都可以看/true(1)只有我的圈可以看
    private boolean privacy;
    //是否允许回复|是否允话评论,true(1)允许,false(0)不允许
    private boolean reply;
    //开启回复通知,true(1)开启,false(0)不通知
    private boolean notify;
    //A读
    // 积分需求
    private int readMinScore;
    // 会员组需求
    private int readLowMemberGroup;
    // 会员角色需求
    private int readLowMemberRole;
    // 角色会员等级需求
    private int readLowMemberLevel;

    //B写
    // 积分需求
    private int writeMinScore;
    // 会员组需求
    private int writeLowMemberGroup;
    // 会员组需求
    private int writeLowMemberRole;
    // 角色会员等级需求
    private int writeLowMemberLevel;
    //b.1是否每人只能回一次|福利只能领一次,true(1)只一次,false(0)不限次数
    private boolean atomPoster;
    //b.2回复的最大楼层次|不间断由某个人回复[不是话题的作者能决定]
    //b.3回复的时间上限|超过N天不允许再回复了[不是话题的作者能决定]
    // 同一会员不间断的回贴的数量
    private int writeMinInterrupt;

    public ThreadsConfigVo() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getThreads() {
        return threads;
    }

    public void setThreads(long threads) {
        this.threads = threads;
    }

    public boolean isPrivacy() {
        return privacy;
    }

    public void setPrivacy(boolean privacy) {
        this.privacy = privacy;
    }

    public boolean isReply() {
        return reply;
    }

    public void setReply(boolean reply) {
        this.reply = reply;
    }

    public boolean isNotify() {
        return notify;
    }

    public void setNotify(boolean notify) {
        this.notify = notify;
    }

    public int getReadMinScore() {
        return readMinScore;
    }

    public void setReadMinScore(int readMinScore) {
        this.readMinScore = readMinScore;
    }

    public int getReadLowMemberGroup() {
        return readLowMemberGroup;
    }

    public void setReadLowMemberGroup(int readLowMemberGroup) {
        this.readLowMemberGroup = readLowMemberGroup;
    }

    public int getReadLowMemberRole() {
        return readLowMemberRole;
    }

    public void setReadLowMemberRole(int readLowMemberRole) {
        this.readLowMemberRole = readLowMemberRole;
    }

    public int getReadLowMemberLevel() {
        return readLowMemberLevel;
    }

    public void setReadLowMemberLevel(int readLowMemberLevel) {
        this.readLowMemberLevel = readLowMemberLevel;
    }

    public int getWriteMinScore() {
        return writeMinScore;
    }

    public void setWriteMinScore(int writeMinScore) {
        this.writeMinScore = writeMinScore;
    }

    public int getWriteLowMemberGroup() {
        return writeLowMemberGroup;
    }

    public void setWriteLowMemberGroup(int writeLowMemberGroup) {
        this.writeLowMemberGroup = writeLowMemberGroup;
    }

    public int getWriteLowMemberRole() {
        return writeLowMemberRole;
    }

    public void setWriteLowMemberRole(int writeLowMemberRole) {
        this.writeLowMemberRole = writeLowMemberRole;
    }

    public int getWriteLowMemberLevel() {
        return writeLowMemberLevel;
    }

    public void setWriteLowMemberLevel(int writeLowMemberLevel) {
        this.writeLowMemberLevel = writeLowMemberLevel;
    }

    public boolean isAtomPoster() {
        return atomPoster;
    }

    public void setAtomPoster(boolean atomPoster) {
        this.atomPoster = atomPoster;
    }

    public int getWriteMinInterrupt() {
        return writeMinInterrupt;
    }

    public void setWriteMinInterrupt(int writeMinInterrupt) {
        this.writeMinInterrupt = writeMinInterrupt;
    }
}